﻿ 

	
<!DOCTYPE html>  
<html>  
<head>  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
    <meta name="keywords" content="邮件发送记录">  
    <meta name="description" content="邮件发送记录">  
    <title>邮件发送记录管理</title>  
    
    <%@ include file="/WEB-INF/inc/default.jsp"%>
    <jsp:include page="/WEB-INF/inc/dic.jsp"/>
    <script type="text/javascript" src="/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript" src="/js/tiny.js"></script>  
</head>  
<body>  
    
   
    <!-- edit form窗体（开始） -->  
   
        <form id="fm" method="post" novalidate>  
        	  	  	 <input type="hidden" name="id" > 
	        		     <table>
	        		     	   <tr>
	        		     	   	  <td>主题:</td>
	        		     	   	  <td><input name="subject" class="easyui-box">  </td>
	        		     	  </tr>
	        		     	  <tr>
	        		     	   	  <td>发送人邮箱:</td>
	        		     	   	  <td><input name="sender" class="easyui-box"></td>
	        		     	  </tr>
	        		     	  <tr>
	        		     	   	  <td>收件人邮箱:</td>
	        		     	   	  <td><input name="reciever" class="easyui-box"></td>
	        		     	  </tr>
	        		     	  <tr>
	        		     	   	  <td>内容:</td>
	        		     	   	  <td><textarea  id="elm1" name="content" style="width:600px;height:150px"></textarea>  </td>
	        		     	  </tr>
	        		     	  <tr>
	        		     	   	  <td>附件：</td>
	        		     	   	  <td><input type="file" name="attachment" class="easyui-box"> </td>
	        		     	  </tr>
	        		     	  
	        		     </table> 	        		     
	        		    	        		    
        </form>  
        <div  style="text-align:center">  
          <a href="javascript:void(0)" id="btn-save" class="easyui-linkbutton" iconCls="icon-ok" ">发送</a>  
          <a href="javascript:void(0)" id="btn-close" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>  
        </div>
 
    <!-- edit form窗体（结束） -->     
    
    <script type="text/javascript">  
        var url;  
        
      
        function save(){          	   
        	  if (!$('#fm').form('validate')) return; 
            $('#fm').form('submit',{  
                url: url,  
                onSubmit: function(){  
                    return $(this).form('validate');  
                },  
                success: function(result){  
                    var result = eval('('+result+')');                      
                    if (result.success == true){  
                        $.messager.alert('信息',result.msg,'info');  
                        $('#dlg').dialog('close');      // close the dialog  
                        $('#dg').datagrid('reload');    // reload the user data  
                    } else {  
                        $.messager.alert('错误',result.msg,'error');
                    }  
                }  
            });  
        }  
                       
        
    </script>  
               
     
     
</body>  
</html>